<template>
  <!-----------------个人信息------------------>
  <view class="all">
    <hea :title="title"></hea>
    <div class="box2">
      <div
        style="
         width: 50px;
          line-height: 80px;
          font-size: 20px;
          margin-left: 10px;
          color: grey;
        "
      >
        头像
      </div>
      <div
        style="
          width: 60px;
          height: 60px;
          border-radius: 60px;
          background-color: aqua;
          margin-left: 200px;
          margin-top: 10px;
        "
      ></div>
      <div style="margin-top: 30px; margin-right: 15px">
        <u-icon name="arrow-right" size="26px"></u-icon>
      </div>
    </div>
    <div class="box1" @click="personJump">
      <div
        style="
        width: 80px;
          line-height: 50px;
          font-size: 20px;
          margin-left: 10px;
          color: grey;
        "
      >
        昵称
      </div>
      <div
        style="
          width: 290px;
          height: 60px;
          text-align: end;
          line-height: 45px;
          font-size: 18px;
        "
      >
        小桥流水
      </div>
      <div style="margin-top: 12px; margin-right: 15px">
        <u-icon name="arrow-right" size="26px"></u-icon>
      </div>
    </div>
  </view>
</template>
<script>
import hea from "../../components/hea.vue";
export default {
  components: {
    hea,
  },

  data() {
    return {
      title: "个人信息",
    };
  },
  methods: {
    personJump() {
      uni.navigateTo({
        url: "/pages/center/nickname",
      });
    },
  },
  onShow() {},
};
</script>

<style scoped>
.all {
  width: 100vw;
  height: 100vh;
  background: #f2f2f2;
}
.box2 {
  width: 100%;
  height: 80px;
  background-color: white;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgb(206, 206, 206);
}
.box1 {
  width: 100%;
  height: 50px;
  background-color: white;
  display: flex;
  justify-content: space-between;
}
</style>
